﻿using System.Collections.ObjectModel;

namespace SmartFront.Toolkit.ActionFramework
{
    /// <summary>
    /// Wrapper for Action Cache Keys collection... As Action Factory creating new instance of this collection everytime
    /// </summary>
    public static class ActionCacheKeyHelper
    {
        #region Fields

        /// <summary>
        /// Gets or sets the action cache keys.
        /// </summary>
        /// <value>The action cache keys.</value>
        public static Collection<string> ActionCacheKeys { get; private set; }

        #endregion

        #region Constructor

        /// <summary>
        /// Initializes the <see cref="ActionCacheKeyHelper"/> class.
        /// </summary>
        static ActionCacheKeyHelper()
        {
            if (null == ActionCacheKeys)
            {
                ActionCacheKeys = new Collection<string>();
            }
        }

        #endregion
    }
}